<div class="bjui-pageHeader">
	<div class="pull-right">
		<button class="btn-default" data-icon="refresh" onclick="$.CurrentNavtab.navtab('refresh')"></button>
	</div>
</div>
<div class="bjui-pageContent">
	<form action="{:U('save_web')}" data-toggle="validate" data-alertmsg="false" class="navtabForm">
		<div class="form-group">
		    <label class="x100">网站备案号:</label>
		    <input type="text" name="web_beian" data-rule="required" placeholder="粤00-123456号" value="{$va.web_beian}"/>
		</div>
		<div class="form-group">
		    <label class="x100">网站名称:</label>
		    <input type="text" name="web_name" data-rule="required" placeholder="Truesion Shop" value="{$va.web_name}"/>
		</div>
		<div class="form-group clearfix">
			<label class="x100 pull-left">网站logo:</label>
			<div class="pull-left parent_img">
			<if condition="$va.web_logo eq null">
				<img src="__PU__/images/58008889b30bc.jpg" alt="LOGO" width="70" />
			<else/>
			    <img src="{$va.web_logo}" alt="LOGO" width="70" />
			</if>
				<input type="hidden" name="web_logo" value="{$va.web_logo}"/>
				<span data-toggle="upload" 
				data-uploader="{:U('Index/upload')}"
				 data-file-type-exts="*.png;*.jpg"
				 data-icon="cloud-upload"
				 data-on-upload-success="upload_callback"
				 data-auto="true"
				 data-button-text="上传图片"
				></span>
			</div>
		</div>
		<div class="form-group">
		    <label class="x100">网站标题:</label>
		    <input type="text" name="web_title" data-rule="required" class="w400" value="{$va.web_title}"/>
		</div>
		<div class="form-group">
		    <label class="x100">网站描述:</label>
		    <input type="text" name="web_description" data-rule="required" class="w500" placeholder="description 长度控制在50字以内最佳" value="{$va.web_description}"/>
		</div>
		<div class="form-group">
		    <label class="x100">网站关键字:</label>
		    <input type="text" name="web_keywords" data-rule="required" class="w500" placeholder="一般设置3-8个左右的关键词,每个关键词2-4个字为最佳,每个词用半角英文逗号分隔即可" value="{$va.web_keywords}"/>
		</div>
		<!-- <div class="form-group">
		    <label class="x100">联系人:</label>
		    <input type="text" name="" data-rule="required" />
		</div>
		<div class="form-group">
		    <label class="x100">联系电话:</label>
		    <input type="text" name="" data-rule="required" />
		</div> -->
		<!-- <div class="form-group">
		    <label class="x100">具体地址:</label>
		    <input type="text" name="" data-rule="required" class="w400" />
		</div> -->
		<div class="form-group">
		    <label class="x100">客服QQ:</label>
		    <input type="text" name="web_service_qq" data-rule="required;number" value="{$va.web_service_qq}"/>
		</div>
		<div class="form-group clearfix">
			<label class="x100 pull-left">客服微信二维码:</label>
			<div class="pull-left parent_img">
			<if condition="$va.web_service_erweima eq null">
				<img src="__PU__/images/58008889b30bc.jpg" alt="LOGO" width="70" />
		    <else/>
		        <img src="{$va.web_service_erweima}" alt="LOGO" width="70" />
		    </if>
				<input type="hidden" name="web_service_erweima" value="{$va.web_service_erweima}"/>
				<span data-toggle="upload"
					  data-uploader="{:U('Index/upload')}"
					  data-file-type-exts="*.png;*.jpg"
					  data-icon="cloud-upload"
					  data-on-upload-success="upload_callback"
					  data-auto="true"
					  data-button-text="上传图片"
				></span>
				<span class="text-warning">注:请上传不少于375*375的正方型图片</span>
			</div>
		</div>
		<div class="form-group">
		    <label class="x100">客服电话:</label>
		    <input type="text" name="web_service_phone" data-rule="required" value="{$va.web_service_phone}"/>
		</div>
		<div class="form-group">
		    <label class="x100">网站底部信息:</label>
		    <textarea rows="10" cols="50" name="web_bottom">{$va.web_bottoms}</textarea>
		</div>
		<div class="form-group">
		    <label class="x100">网站第三方统计代码:</label>
		    <textarea rows="10" cols="50" name="web_script">{$va.web_script}</textarea>
		</div>
	</form>
</div>
<include file="Common/footer" ftype="save" />